namespace Asmex.FileViewer
{
    using System;

    public class CodedToken
    {
        private uint _rawData;
        private Types _type;

        public CodedToken(Types type, uint raw, MDTables helper)
        {
            this._rawData = raw;
            this._type = type;
        }

        public override string ToString()
        {
            Types types = (Types) ((this._rawData & -16777216) >> 0x18);
            uint num = this._rawData & 0xffffff;
            return (types.ToString() + " " + num.ToString("X8"));
        }

        public uint Raw
        {
            get
            {
                return this._rawData;
            }
        }
    }
}
